python program to check if a number is odd or even